package com.example.demo.service.impl;

import com.example.demo.entity.Book_instrument;
import com.example.demo.mapper.Book_instrumentMapper;
import com.example.demo.service.Book_instrumentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Book_instrumentImpl implements Book_instrumentService {
    @Autowired
    Book_instrumentMapper mapper;

    @Override
    public Book_instrument queryByS_idAndI_id(String s_id,String i_id){
        return mapper.queryByS_idAndI_id(s_id,i_id);
    }

    @Override
    public List<Book_instrument> queryPByI_id(String i_id){
        return mapper.queryPByI_id(i_id);
    }

}
